package com.loveprogrammer.redismq.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

@Retention(RetentionPolicy.RUNTIME)
public @interface MQListener {

    /**
     * 订阅的tag
     */
    String tag() default "*";

    /**
     * 请求方消息类型
     */
    Class<?> messageClass() default Object.class;

}
